import { Http } from '@/common/api'
// 列表
export const listUrl = '/srm/enquiry/page'

// 发送询价给供应商
export const apiPostEnquirySend = async (params) => Http.post('/srm/enquiry/send', params)

// 延期询价
export const apiPostEnquiryDelay = async (params) => Http.post('/srm/enquiry/delay', params)

// 终止询价
export const apiGetEnquiryEnd = async (id) => Http.get(`/srm/enquiry/end/${id}`)

// 取消询价
export const apiGetEnquiryCancel = async (id) => Http.get(`/srm/enquiry/cancle/${id}`)

// 获取询价单详情
export const apiGetEnquiryDetail = async (id) => Http.get(`/srm/enquiry/findById/${id}`)

// 获取无聊供应商报价详情
export const apiGetMaterialQutes = async (id) => Http.get(`/srm/enquiry/materialQutes/${id}`)
